(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 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: 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.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.1ms) begin transaction  (0.1ms) 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 19:44: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, 01 Dec 2014 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44: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, 01 Dec 2014 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:06 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 19:44:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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 19:44: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, 01 Dec 2014 19:44:06 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.3ms) INSERT INTO "coalescing_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 19:44: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, 01 Dec 2014 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 19:44:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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 19:44: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, 01 Dec 2014 19:44:06 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.0ms) 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 19:44: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, 01 Dec 2014 19:44:06 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44: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", "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 19:44:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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 19:44:06 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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 19:44:06 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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.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 19:44:06 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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:06 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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44: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", "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 19:44:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:06 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.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_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, 01 Dec 2014 19:44:06 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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 19:44:06 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 19:44: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, 01 Dec 2014 19:44:06 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 19:44: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 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.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 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 19:44:06 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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:06 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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:06 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 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 19:44:06 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 19:44:06 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.3ms) INSERT INTO "coalescing_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 19:44:06 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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:06 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 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 19:44:06 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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:06 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 19:44:06 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", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44: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", "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 19:44:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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 19:44:06 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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44: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", "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 19:44:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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.2ms) INSERT INTO "coalescing_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 19:44:06 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 19:44:06 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:06 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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 19:44:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:06 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 19:44: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", "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 19:44:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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.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" ("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 19:44:06 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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:06 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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:06 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.1ms) SAVEPOINT 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 19:44:06 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 19:44:06 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 19:44:06 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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", "22"], ["created_at", Mon, 01 Dec 2014 19:44:06 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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:06 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 19:44:06 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44: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", "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 19:44:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:06 UTC +00:00]]  (0.1ms) 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44: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 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 19:44:06 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 19:44:06 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 19:44:06 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:06 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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:06 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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 19:44:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:06 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.2ms) 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 19:44:06 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 19:44:06 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 19:44:06 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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.2ms) INSERT INTO "coalescing_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 19:44: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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44: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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 19:44:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:06 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", "30"], ["created_at", Mon, 01 Dec 2014 19:44: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 19:44:06 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 19:44:06 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44: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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44: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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 19:44:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:06 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", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 19:44:06 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 19:44:06 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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  (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 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 19:44: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 19:44:06 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 19:44:06 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44: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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44: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 19:44:06 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", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44: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", "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 19:44:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:06 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", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 19:44:06 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 19:44:06 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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.2ms) INSERT INTO "coalescing_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 19:44: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 19:44:06 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 19:44:06 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44: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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44: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 19:44:06 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", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44: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", "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 19:44:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:06 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 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 19:44: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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44: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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 19:44:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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 19:44: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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44: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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:06 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44: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", "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 19:44:06 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:06 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 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 19:44: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 19:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.1ms) 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 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.0ms) begin transaction  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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.1ms) SAVEPOINT 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.2ms) INSERT INTO "coalescing_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 19:44:07 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 19:44:07 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 19:44:07 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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.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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 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 19:44:07 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 19:44:07 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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 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 19:44:07 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 19:44:07 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", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 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 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 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 19:44:07 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 19:44:07 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 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", 20], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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", "6"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 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", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 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  (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 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 19:44:07 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 19:44:07 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 19:44:07 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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.1ms) INSERT INTO "coalescing_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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_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", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_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", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44: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 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 19:44:07 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 19:44:07 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 19:44:07 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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.1ms) INSERT INTO "coalescing_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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 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 19:44:07 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.3ms) INSERT INTO "coalescing_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 19:44:07 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 19:44:07 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", 1], ["created_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 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 19:44:07 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 19:44:07 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 19:44:07 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 19:44:07 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 19:44:07 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 19:44:07 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 19:44:07 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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.3ms) INSERT INTO "coalescing_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 19:44:07 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 19:44:07 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 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44: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, 01 Dec 2014 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44: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, 01 Dec 2014 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44: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, 01 Dec 2014 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44: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, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44: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 = '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 19:44:07 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 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.6ms) 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 19:44:07 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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 19:44:07 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 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44: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, 01 Dec 2014 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44: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, 01 Dec 2014 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44: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, 01 Dec 2014 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44: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, 01 Dec 2014 19:44:07 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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.1ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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.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", "84"], ["created_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44: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, 01 Dec 2014 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44: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, 01 Dec 2014 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44: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.6ms) 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 19:44:07 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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.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.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.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 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 19:44:07 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 19:44:07 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.0ms) 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 19:44:07 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 19:44:07 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", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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.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.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 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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.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.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 19:44:07 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 19:44: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.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_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 19:44:07 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 01 Dec 2014 19:44: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.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_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 19:44:07 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 01 Dec 2014 19:44: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 = '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 19:44:07 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 01 Dec 2014 19:44:07 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.3ms) INSERT INTO "coalescing_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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44: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, 01 Dec 2014 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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.2ms) INSERT INTO "coalescing_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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44: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, 01 Dec 2014 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44: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, 01 Dec 2014 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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.2ms) INSERT INTO "coalescing_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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 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", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44: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, 01 Dec 2014 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 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", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44: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, 01 Dec 2014 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44: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, 01 Dec 2014 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44: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, 01 Dec 2014 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 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.2ms) INSERT INTO "coalescing_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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44: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, 01 Dec 2014 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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.2ms) INSERT INTO "coalescing_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 19:44:07 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 19:44:07 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 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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", 4], ["created_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 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 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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.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 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44: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, 01 Dec 2014 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 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.2ms) INSERT INTO "coalescing_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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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.0ms) 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 19:44:07 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 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 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 19:44:07 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "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 19:44:07 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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 19:44:07 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 19:44: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, 01 Dec 2014 19:44:07 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 19:44:07 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:44:07 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" = '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]]  (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) 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.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.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.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 19:46: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 19:46: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 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 19:46: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 19:46: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", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_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 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 19:46: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 19:46: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 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 19:46: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 19:46: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 19:46:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 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 19:46: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 19:46: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 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 19:46: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 19:46: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 19:46:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:00 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:00 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 19:46: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.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.3ms) INSERT INTO "coalescing_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 19:46: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 19:46: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 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 19:46: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 19:46: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 19:46:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 4], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46:00 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.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 19:46:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46:00 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.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.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", Mon, 01 Dec 2014 19:46:00 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 19:46:00 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 19:46:00 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:00 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 01 Dec 2014 19:46: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.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.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 19:46: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 19:46: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 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 19:46: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 19:46: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", 5], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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 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 19:46: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 19:46: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.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 19:46: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 19:46: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", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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.2ms) INSERT INTO "coalescing_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 19:46: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 19:46: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.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 19:46: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 19:46:00 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", 7], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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.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 19:46: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 19:46: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", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 19:46:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46: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 19:46: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", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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.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 19:46: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 19:46: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", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 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 19:46: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 19:46:00 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", 3], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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.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 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 19:46: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 19:46: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 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 19:46: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 19:46: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", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46:00 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 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 19:46: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 19:46:00 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 19:46:00 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46: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 19:46: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.0ms) 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 19:46: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 19:46: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", 11], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 19:46:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46:00 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 19:46:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46:00 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 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 19:46: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 19:46: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", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:00 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46: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 19:46: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.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 19:46: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 19:46:00 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 19:46:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 8], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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", 2], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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 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 19:46: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 19:46: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", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:00 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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.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 19:46: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 19:46: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.1ms) INSERT INTO "coalescing_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 19:46: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 19:46: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 19:46:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46:00 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", 3], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:00 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46:00 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 19:46: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 19:46: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 19:46:00 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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 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 19:46:01 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 19:46: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 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 19:46:01 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 19:46: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", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 10], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46:01 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", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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  (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 19:46:01 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 19:46:01 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", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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 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 19:46:01 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 19:46: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 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 19:46:01 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 19:46: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", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46:01 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", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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", 6], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Mon, 01 Dec 2014 19:46: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 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 19:46:01 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 19:46:01 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 19:46:01 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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 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 19:46:01 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 19:46: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 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 19:46:01 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 19:46: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", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 12], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46:01 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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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 19:46:01 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 19:46: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 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 19:46:01 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 19:46: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", 17], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 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 19:46:01 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 19:46: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 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 19:46:01 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 19:46: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", 18], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 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 19:46:01 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 19:46: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 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 19:46:01 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 19:46: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", 19], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46:01 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.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 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 19:46:01 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 19:46: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 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 19:46:01 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 19:46: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", 20], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 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 19:46:01 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 19:46:01 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 19:46:01 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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 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 19:46:01 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 19:46: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 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 19:46:01 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 19:46: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", 21], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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", "3"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 19:46:01 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 19:46:01 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 19:46:01 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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 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 19:46:01 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 19:46: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 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 19:46:01 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 19:46: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", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 18], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 19:46:01 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 19:46: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 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 19:46:01 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 19:46:01 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 19:46:01 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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 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 19:46:01 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 19:46: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 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 19:46:01 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 19:46:01 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", 3], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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", "5"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 19:46: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 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 19:46:01 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 19:46:01 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 19:46:01 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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 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 19:46:01 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 19:46: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 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 19:46:01 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 19:46:01 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", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 20], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 19:46:01 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46:01 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.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 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 19:46:01 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 19:46:01 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 19:46:01 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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 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 19:46:01 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 19:46: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 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 19:46:01 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 19:46: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", 25], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_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", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 19:46:01 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 19:46:01 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 19:46:01 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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 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.1ms) INSERT INTO "coalescing_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 19:46:01 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 19:46: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 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.1ms) INSERT INTO "coalescing_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 19:46:01 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 19:46:01 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", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46:01 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", 2], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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 19:46:01 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 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 19:46:01 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 19:46:01 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 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 19:46:01 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 19:46: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", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46:01 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.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.3ms) INSERT INTO "coalescing_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 19:46:01 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 19:46:01 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.2ms) INSERT INTO "coalescing_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 19:46:01 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 19:46:01 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 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.2ms) INSERT INTO "coalescing_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 19:46:01 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 19:46:01 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 19:46:01 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 19:46:01 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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.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 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 19:46:01 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 19:46:01 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 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 19:46:01 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 19:46: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 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 19:46:01 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 19:46: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", 28], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46: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  (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 19:46:01 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 19:46: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 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 19:46:01 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 19:46: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", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 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 19:46:01 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 19:46: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 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 19:46:01 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 19:46: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", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46: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.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 19:46:01 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 19:46: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 (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 19:46:01 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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 (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 19:46:01 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 19:46:01 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 19:46:01 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.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.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.8ms) 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", Mon, 01 Dec 2014 19:46:01 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.2ms) 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 19:46:01 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 19:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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 19:46:01 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.2ms) 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 19:46: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 19:46:01 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 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 19:46: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 19:46: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", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 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 19:46: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 19:46: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.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", "80"], ["created_at", Mon, 01 Dec 2014 19:46: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 19:46: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", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00]]  (0.0ms) 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 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 19:46: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 19:46: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 (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", "82"], ["created_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 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 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46: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, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 19:46: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 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 19:46: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 19:46: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.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 19:46: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 19:46: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 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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 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.2ms) INSERT INTO "coalescing_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 19:46: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 19:46: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.3ms) INSERT INTO "coalescing_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 19:46: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 19:46: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 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46: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.7ms) 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 19:46:01 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 19:46:01 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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.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", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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.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.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.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 19:46: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 19:46: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 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 19:46: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 19:46: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", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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.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 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 19:46: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 19:46: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.3ms) INSERT INTO "coalescing_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 19:46: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 19:46: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", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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.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 19:46:01 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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 CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" 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 19:46:01 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 01 Dec 2014 19:46: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, 01 Dec 2014 19:46:01 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 01 Dec 2014 19:46: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.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_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 19:46:01 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 01 Dec 2014 19:46:01 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.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, 01 Dec 2014 19:46:01 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 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 19:46: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 19:46: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.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 19:46: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 19:46:01 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", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46: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 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 19:46: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 19:46: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.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 19:46: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 19:46: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 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46:01 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", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 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 19:46: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 19:46: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 19:46: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 19:46: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", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 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.3ms) INSERT INTO "coalescing_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 19:46: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 19:46: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 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 19:46: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 19:46: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 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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, 01 Dec 2014 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 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 19:46: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 19:46: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 19:46: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 19:46: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 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 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 19:46: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 19:46: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.3ms) INSERT INTO "coalescing_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 19:46: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 19:46: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", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 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.2ms) INSERT INTO "coalescing_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 19:46: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 19:46: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.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 19:46: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 19:46: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 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 19:46: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 19:46: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.3ms) INSERT INTO "coalescing_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 19:46: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 19:46: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 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 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 19:46: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 19:46: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.3ms) INSERT INTO "coalescing_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 19:46: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 19:46:01 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", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46: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 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 19:46: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 19:46: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.3ms) INSERT INTO "coalescing_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 19:46: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 19:46: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", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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", 9], ["coalescing_panda_course_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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 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 19:46:01 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 19:46: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 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 19:46:01 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 19:46: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", 4], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 43], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46: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 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46: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", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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" = '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]]  (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 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 19:46:01 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 19:46: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 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 19:46:01 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 19:46: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", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46: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 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.4ms) INSERT INTO "coalescing_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 19:46:01 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 19:46: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 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.4ms) INSERT INTO "coalescing_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 19:46:01 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 19:46: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", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["updated_at", Mon, 01 Dec 2014 19:46: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", 45], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 01 Dec 2014 19:46:01 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 19:46:01 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 01 Dec 2014 19:46: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 19:46:01 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 01 Dec 2014 19:46: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", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 01 Dec 2014 19:46:01 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 01 Dec 2014 19:46: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" = '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 ActiveRecord::SchemaMigration Load (0.4ms) 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 AddSubmissionTypesToAssignments (20141208221740)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "coalescing_panda_assignments" ADD "submission_types" text SQL (6.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141208221740"]]  (0.6ms) commit transaction Migrating to AddGroupCategoryIdToAssignment (20150106175418)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "coalescing_panda_assignments" ADD "group_category_id" integer  (0.1ms) ALTER TABLE "coalescing_panda_assignments" ADD "grade_group_students_individually" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150106175418"]]  (0.8ms) commit transaction Migrating to AddPublishedToAssignments (20150106180131)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "coalescing_panda_assignments" ADD "published" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150106180131"]]  (0.7ms) commit transaction Migrating to CreateCoalescingPandaGroups (20150107205405)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "context_id" integer, "context_type" varchar, "description" varchar, "group_category_id" varchar, "canvas_group_id" varchar, "name" varchar, "members_count" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) select sqlite_version(*)  (0.4ms) CREATE UNIQUE INDEX "index_groups_context_and_group_id" ON "coalescing_panda_groups" ("context_id", "canvas_group_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150107205405"]]  (0.9ms) commit transaction Migrating to CreateCoalescingPandaGroupMemberships (20150107205413)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_group_memberships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_group_id" integer, "coalescing_panda_user_id" integer, "canvas_group_membership_id" varchar, "workflow_state" varchar, "created_at" datetime, "updated_at" datetime)  (0.4ms) CREATE UNIQUE INDEX "index_group_memberships_user_and_group" ON "coalescing_panda_group_memberships" ("coalescing_panda_group_id", "coalescing_panda_user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150107205413"]]  (0.9ms) commit transaction Migrating to AddContextToCanvasBatch (20150210180516)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "coalescing_panda_canvas_batches" ADD "context_id" integer  (0.2ms) ALTER TABLE "coalescing_panda_canvas_batches" ADD "context_type" varchar SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150210180516"]]  (0.7ms) commit transaction Migrating to CreateCoalescingPandaAssignmentGroups (20150506183335)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "coalescing_panda_assignment_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer NOT NULL, "context_id" integer, "context_type" varchar, "canvas_assignment_group_id" varchar, "name" varchar, "position" integer, "group_weight" float, "workflow_state" varchar, "created_at" datetime, "updated_at" datetime)  (0.4ms) CREATE UNIQUE INDEX "index_assignment_group_course" ON "coalescing_panda_assignment_groups" ("coalescing_panda_course_id", "canvas_assignment_group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_assignment_group_course' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_assignment_group_course' AND type='index'  (0.1ms) CREATE UNIQUE INDEX "index_assignment_group_context" ON "coalescing_panda_assignment_groups" ("canvas_assignment_group_id", "context_id", "context_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150506183335"]]  (1.0ms) commit transaction Migrating to AddAssignmentGroupIdToAssignments (20150506192717)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "coalescing_panda_assignments" ADD "coalescing_panda_assignment_group_id" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150506192717"]]  (0.6ms) commit transaction Migrating to AddAccountToCanvasBatches (20150526144713)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "coalescing_panda_canvas_batches" ADD "coalescing_panda_lti_account_id" integer SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150526144713"]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_assignment_group_context' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_assignment_group_context' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_assignment_group_course' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_assignment_group_course' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_assignments_course' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_assignments_course' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_coalescing_panda_courses_on_sis_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_coalescing_panda_courses_on_sis_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_courses_term' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_courses_term' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_courses_account' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_courses_account' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_coalescing_panda_enrollments_on_sis_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_coalescing_panda_enrollments_on_sis_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_enrollments_user_and_assignment' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_enrollments_user_and_assignment' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_memberships_user_and_group' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_memberships_user_and_group' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_groups_context_and_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_groups_context_and_group_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_coalescing_panda_sections_on_sis_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_coalescing_panda_sections_on_sis_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_sections_course' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_sections_course' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_coalescing_panda_submissions_on_canvas_submission_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_coalescing_panda_submissions_on_canvas_submission_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_submissions_user_and_assignment' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_submissions_user_and_assignment' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_coalescing_panda_terms_on_sis_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_coalescing_panda_terms_on_sis_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_terms_account' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_terms_account' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_coalescing_panda_users_on_sis_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_coalescing_panda_users_on_sis_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_account' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_account' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='delayed_jobs_priority' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='delayed_jobs_priority' AND type='index'  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 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 3ms (ActiveRecord: 0.0ms)  (0.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 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 (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 1"], ["key", "Key 1"], ["secret", "Account 1"], ["canvas_account_id", "1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: foo.com\n"], ["created_at", "2015-05-26 15:14:22.354994"], ["updated_at", "2015-05-26 15:14:22.354994"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test1@test.com"], ["name", "Factory User 1"], ["canvas_user_id", "1"], ["created_at", "2015-05-26 15:14:22.372141"], ["updated_at", "2015-05-26 15:14:22.372141"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar", "key"=>"Key 1", "state"=>"test"} CoalescingPanda::LtiAccount Load (0.2ms) SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = ? LIMIT 1 [["key", "Key 1"]] CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE (user_id = '1' and api_domain = 'foo.com') ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1  (0.0ms) 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" = '1' AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com') LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("api_token", "user_id", "api_domain", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["api_token", "foobar"], ["user_id", "1"], ["api_domain", "foo.com"], ["created_at", "2015-05-26 15:14:22.393250"], ["updated_at", "2015-05-26 15:14:22.393250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /Users/ctanner/code/coalescing_panda/app/views/coalescing_panda/oauth2/redirect.html.haml within layouts/coalescing_panda/application (0.2ms) Completed 200 OK in 32ms (Views: 12.7ms | ActiveRecord: 0.7ms) CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = ? AND "coalescing_panda_canvas_api_auths"."api_domain" = ? LIMIT 1 [["user_id", "1"], ["api_domain", "foo.com"]]  (0.8ms) rollback transaction  (0.1ms) begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Rendered /Users/ctanner/code/coalescing_panda/app/views/coalescing_panda/oauth2/redirect.html.haml within layouts/coalescing_panda/application (0.2ms) 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.1ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 2"], ["key", "Key 2"], ["secret", "Account 2"], ["canvas_account_id", "2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.432465"], ["updated_at", "2015-05-26 15:14:22.432465"]]  (0.1ms) 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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 3"], ["key", "Key 3"], ["secret", "Account 3"], ["canvas_account_id", "3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.444685"], ["updated_at", "2015-05-26 15:14:22.444685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "1"], ["created_at", "2015-05-26 15:14:22.448770"], ["updated_at", "2015-05-26 15:14:22.448770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "1"], ["created_at", "2015-05-26 15:14:22.452420"], ["updated_at", "2015-05-26 15:14:22.452420"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 4"], ["key", "Key 4"], ["secret", "Account 4"], ["canvas_account_id", "4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.467913"], ["updated_at", "2015-05-26 15:14:22.467913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 5"], ["key", "Key 5"], ["secret", "Account 5"], ["canvas_account_id", "5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.471700"], ["updated_at", "2015-05-26 15:14:22.471700"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "2"], ["created_at", "2015-05-26 15:14:22.474329"], ["updated_at", "2015-05-26 15:14:22.474329"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "2"], ["created_at", "2015-05-26 15:14:22.476051"], ["updated_at", "2015-05-26 15:14:22.476051"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 6"], ["key", "Key 6"], ["secret", "Account 6"], ["canvas_account_id", "6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.482362"], ["updated_at", "2015-05-26 15:14:22.482362"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 7"], ["key", "Key 7"], ["secret", "Account 7"], ["canvas_account_id", "7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.486397"], ["updated_at", "2015-05-26 15:14:22.486397"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "3"], ["created_at", "2015-05-26 15:14:22.488842"], ["updated_at", "2015-05-26 15:14:22.488842"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "3"], ["created_at", "2015-05-26 15:14:22.491413"], ["updated_at", "2015-05-26 15:14:22.491413"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 8"], ["key", "Key 8"], ["secret", "Account 8"], ["canvas_account_id", "8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.512524"], ["updated_at", "2015-05-26 15:14:22.512524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 9"], ["key", "Key 9"], ["secret", "Account 9"], ["canvas_account_id", "9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.517448"], ["updated_at", "2015-05-26 15:14:22.517448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "4"], ["created_at", "2015-05-26 15:14:22.520096"], ["updated_at", "2015-05-26 15:14:22.520096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "4"], ["created_at", "2015-05-26 15:14:22.521764"], ["updated_at", "2015-05-26 15:14:22.521764"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 10"], ["key", "Key 10"], ["secret", "Account 10"], ["canvas_account_id", "10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.530692"], ["updated_at", "2015-05-26 15:14:22.530692"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 11"], ["key", "Key 11"], ["secret", "Account 11"], ["canvas_account_id", "11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.535964"], ["updated_at", "2015-05-26 15:14:22.535964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "5"], ["created_at", "2015-05-26 15:14:22.538974"], ["updated_at", "2015-05-26 15:14:22.538974"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "5"], ["created_at", "2015-05-26 15:14:22.540613"], ["updated_at", "2015-05-26 15:14:22.540613"]]  (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.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 12"], ["key", "Key 12"], ["secret", "Account 12"], ["canvas_account_id", "12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.546429"], ["updated_at", "2015-05-26 15:14:22.546429"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 13"], ["key", "Key 13"], ["secret", "Account 13"], ["canvas_account_id", "13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.551793"], ["updated_at", "2015-05-26 15:14:22.551793"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "6"], ["created_at", "2015-05-26 15:14:22.555307"], ["updated_at", "2015-05-26 15:14:22.555307"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "6"], ["created_at", "2015-05-26 15:14:22.557278"], ["updated_at", "2015-05-26 15:14:22.557278"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("name", "coalescing_panda_course_id", "canvas_assignment_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "test assignment"], ["coalescing_panda_course_id", 1], ["canvas_assignment_id", "1"], ["created_at", "2015-05-26 15:14:22.559631"], ["updated_at", "2015-05-26 15:14:22.559631"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("name", "coalescing_panda_course_id", "canvas_assignment_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "test assignment"], ["coalescing_panda_course_id", 1], ["canvas_assignment_id", "1"], ["created_at", "2015-05-26 15:14:22.563789"], ["updated_at", "2015-05-26 15:14:22.563789"]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_assignments.coalescing_panda_course_id, coalescing_panda_assignments.canvas_assignment_id: INSERT INTO "coalescing_panda_assignments" ("name", "coalescing_panda_course_id", "canvas_assignment_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 14"], ["key", "Key 14"], ["secret", "Account 14"], ["canvas_account_id", "14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.570308"], ["updated_at", "2015-05-26 15:14:22.570308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 15"], ["key", "Key 15"], ["secret", "Account 15"], ["canvas_account_id", "15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.574780"], ["updated_at", "2015-05-26 15:14:22.574780"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "7"], ["created_at", "2015-05-26 15:14:22.577811"], ["updated_at", "2015-05-26 15:14:22.577811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "7"], ["created_at", "2015-05-26 15:14:22.580232"], ["updated_at", "2015-05-26 15:14:22.580232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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" ("user_id", "created_at", "updated_at") VALUES (?, ?, ?) [["user_id", "a"], ["created_at", "2015-05-26 15:14:22.586976"], ["updated_at", "2015-05-26 15:14:22.586976"]]  (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 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  (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  (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  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("status", "created_at", "updated_at") VALUES (?, ?, ?) [["status", "Pending"], ["created_at", "2015-05-26 15:14:22.612290"], ["updated_at", "2015-05-26 15:14:22.612290"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("status", "created_at", "updated_at") VALUES (?, ?, ?) [["status", "Pending"], ["created_at", "2015-05-26 15:14:22.614186"], ["updated_at", "2015-05-26 15:14:22.614186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("status", "created_at", "updated_at") VALUES (?, ?, ?) [["status", "Pending"], ["created_at", "2015-05-26 15:14:22.615997"], ["updated_at", "2015-05-26 15:14:22.615997"]]  (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.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 16"], ["key", "Key 16"], ["secret", "Account 16"], ["canvas_account_id", "16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.628183"], ["updated_at", "2015-05-26 15:14:22.628183"]]  (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.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 17"], ["key", "Key 17"], ["secret", "Account 17"], ["canvas_account_id", "17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.633708"], ["updated_at", "2015-05-26 15:14:22.633708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "8"], ["created_at", "2015-05-26 15:14:22.636911"], ["updated_at", "2015-05-26 15:14:22.636911"]]  (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.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 18"], ["key", "Key 18"], ["secret", "Account 18"], ["canvas_account_id", "18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.644204"], ["updated_at", "2015-05-26 15:14:22.644204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 19"], ["key", "Key 19"], ["secret", "Account 19"], ["canvas_account_id", "19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.649413"], ["updated_at", "2015-05-26 15:14:22.649413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "9"], ["created_at", "2015-05-26 15:14:22.652400"], ["updated_at", "2015-05-26 15:14:22.652400"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 20"], ["key", "Key 20"], ["secret", "Account 20"], ["canvas_account_id", "20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.658134"], ["updated_at", "2015-05-26 15:14:22.658134"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 21"], ["key", "Key 21"], ["secret", "Account 21"], ["canvas_account_id", "21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.662194"], ["updated_at", "2015-05-26 15:14:22.662194"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "10"], ["created_at", "2015-05-26 15:14:22.664585"], ["updated_at", "2015-05-26 15:14:22.664585"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "1"], ["created_at", "2015-05-26 15:14:22.666811"], ["updated_at", "2015-05-26 15:14:22.666811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 22"], ["key", "Key 22"], ["secret", "Account 22"], ["canvas_account_id", "22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.671846"], ["updated_at", "2015-05-26 15:14:22.671846"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "11"], ["created_at", "2015-05-26 15:14:22.674722"], ["updated_at", "2015-05-26 15:14:22.674722"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 2], ["name", "Test Course"], ["canvas_course_id", "1"], ["created_at", "2015-05-26 15:14:22.676506"], ["updated_at", "2015-05-26 15:14:22.676506"]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_lti_account_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 23"], ["key", "Key 23"], ["secret", "Account 23"], ["canvas_account_id", "23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.681924"], ["updated_at", "2015-05-26 15:14:22.681924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_term_id", "12"], ["created_at", "2015-05-26 15:14:22.684538"], ["updated_at", "2015-05-26 15:14:22.684538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 24"], ["key", "Key 24"], ["secret", "Account 24"], ["canvas_account_id", "24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.687873"], ["updated_at", "2015-05-26 15:14:22.687873"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "1"], ["created_at", "2015-05-26 15:14:22.690853"], ["updated_at", "2015-05-26 15:14:22.690853"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 25"], ["key", "Key 25"], ["secret", "Account 25"], ["canvas_account_id", "25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.694363"], ["updated_at", "2015-05-26 15:14:22.694363"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "1"], ["created_at", "2015-05-26 15:14:22.696774"], ["updated_at", "2015-05-26 15:14:22.696774"]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_term_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 26"], ["key", "Key 26"], ["secret", "Account 26"], ["canvas_account_id", "26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.701900"], ["updated_at", "2015-05-26 15:14:22.701900"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 27"], ["key", "Key 27"], ["secret", "Account 27"], ["canvas_account_id", "27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.706217"], ["updated_at", "2015-05-26 15:14:22.706217"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "13"], ["created_at", "2015-05-26 15:14:22.708780"], ["updated_at", "2015-05-26 15:14:22.708780"]]  (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.1ms) SAVEPOINT 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.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 28"], ["key", "Key 28"], ["secret", "Account 28"], ["canvas_account_id", "28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.726440"], ["updated_at", "2015-05-26 15:14:22.726440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test2@test.com"], ["name", "Factory User 2"], ["canvas_user_id", "2"], ["created_at", "2015-05-26 15:14:22.729344"], ["updated_at", "2015-05-26 15:14:22.729344"]]  (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.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 29"], ["key", "Key 29"], ["secret", "Account 29"], ["canvas_account_id", "29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.743981"], ["updated_at", "2015-05-26 15:14:22.743981"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 30"], ["key", "Key 30"], ["secret", "Account 30"], ["canvas_account_id", "30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.748671"], ["updated_at", "2015-05-26 15:14:22.748671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "14"], ["created_at", "2015-05-26 15:14:22.750891"], ["updated_at", "2015-05-26 15:14:22.750891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "10"], ["created_at", "2015-05-26 15:14:22.752372"], ["updated_at", "2015-05-26 15:14:22.752372"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"], ["created_at", "2015-05-26 15:14:22.754855"], ["updated_at", "2015-05-26 15:14:22.754855"]]  (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.0ms) 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 31"], ["key", "Key 31"], ["secret", "Account 31"], ["canvas_account_id", "31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.762330"], ["updated_at", "2015-05-26 15:14:22.762330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test3@test.com"], ["name", "Factory User 3"], ["canvas_user_id", "3"], ["created_at", "2015-05-26 15:14:22.765255"], ["updated_at", "2015-05-26 15:14:22.765255"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 32"], ["key", "Key 32"], ["secret", "Account 32"], ["canvas_account_id", "32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.769280"], ["updated_at", "2015-05-26 15:14:22.769280"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 33"], ["key", "Key 33"], ["secret", "Account 33"], ["canvas_account_id", "33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.775326"], ["updated_at", "2015-05-26 15:14:22.775326"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "15"], ["created_at", "2015-05-26 15:14:22.778221"], ["updated_at", "2015-05-26 15:14:22.778221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "11"], ["created_at", "2015-05-26 15:14:22.780268"], ["updated_at", "2015-05-26 15:14:22.780268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "2"], ["created_at", "2015-05-26 15:14:22.781870"], ["updated_at", "2015-05-26 15:14:22.781870"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 34"], ["key", "Key 34"], ["secret", "Account 34"], ["canvas_account_id", "34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.788353"], ["updated_at", "2015-05-26 15:14:22.788353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test4@test.com"], ["name", "Factory User 4"], ["canvas_user_id", "4"], ["created_at", "2015-05-26 15:14:22.790909"], ["updated_at", "2015-05-26 15:14:22.790909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 35"], ["key", "Key 35"], ["secret", "Account 35"], ["canvas_account_id", "35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.795700"], ["updated_at", "2015-05-26 15:14:22.795700"]]  (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.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 36"], ["key", "Key 36"], ["secret", "Account 36"], ["canvas_account_id", "36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.816604"], ["updated_at", "2015-05-26 15:14:22.816604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "16"], ["created_at", "2015-05-26 15:14:22.818883"], ["updated_at", "2015-05-26 15:14:22.818883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "12"], ["created_at", "2015-05-26 15:14:22.820231"], ["updated_at", "2015-05-26 15:14:22.820231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "3"], ["created_at", "2015-05-26 15:14:22.821581"], ["updated_at", "2015-05-26 15:14:22.821581"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 37"], ["key", "Key 37"], ["secret", "Account 37"], ["canvas_account_id", "37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.827581"], ["updated_at", "2015-05-26 15:14:22.827581"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test5@test.com"], ["name", "Factory User 5"], ["canvas_user_id", "5"], ["created_at", "2015-05-26 15:14:22.830071"], ["updated_at", "2015-05-26 15:14:22.830071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 38"], ["key", "Key 38"], ["secret", "Account 38"], ["canvas_account_id", "38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.833321"], ["updated_at", "2015-05-26 15:14:22.833321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 39"], ["key", "Key 39"], ["secret", "Account 39"], ["canvas_account_id", "39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.837229"], ["updated_at", "2015-05-26 15:14:22.837229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "17"], ["created_at", "2015-05-26 15:14:22.839309"], ["updated_at", "2015-05-26 15:14:22.839309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "13"], ["created_at", "2015-05-26 15:14:22.840745"], ["updated_at", "2015-05-26 15:14:22.840745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "4"], ["created_at", "2015-05-26 15:14:22.842106"], ["updated_at", "2015-05-26 15:14:22.842106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id", "canvas_enrollment_id", "enrollment_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_user_id", 1], ["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "3"], ["enrollment_type", "StudentEnrollment"], ["created_at", "2015-05-26 15:14:22.843781"], ["updated_at", "2015-05-26 15:14:22.843781"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id", "canvas_enrollment_id", "enrollment_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_user_id", 1], ["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "4"], ["enrollment_type", "StudentEnrollment"], ["created_at", "2015-05-26 15:14:22.845394"], ["updated_at", "2015-05-26 15:14:22.845394"]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_enrollments.coalescing_panda_user_id, coalescing_panda_enrollments.coalescing_panda_section_id, coalescing_panda_enrollments.enrollment_type: INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id", "canvas_enrollment_id", "enrollment_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (0.0ms) ROLLBACK TO 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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 40"], ["key", "Key 40"], ["secret", "Account 40"], ["canvas_account_id", "40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.850623"], ["updated_at", "2015-05-26 15:14:22.850623"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test6@test.com"], ["name", "Factory User 6"], ["canvas_user_id", "6"], ["created_at", "2015-05-26 15:14:22.853161"], ["updated_at", "2015-05-26 15:14:22.853161"]]  (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.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 41"], ["key", "Key 41"], ["secret", "Account 41"], ["canvas_account_id", "41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.856275"], ["updated_at", "2015-05-26 15:14:22.856275"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 42"], ["key", "Key 42"], ["secret", "Account 42"], ["canvas_account_id", "42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.859987"], ["updated_at", "2015-05-26 15:14:22.859987"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "18"], ["created_at", "2015-05-26 15:14:22.862283"], ["updated_at", "2015-05-26 15:14:22.862283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "14"], ["created_at", "2015-05-26 15:14:22.863957"], ["updated_at", "2015-05-26 15:14:22.863957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "5"], ["created_at", "2015-05-26 15:14:22.865434"], ["updated_at", "2015-05-26 15:14:22.865434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id", "canvas_enrollment_id", "enrollment_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_user_id", 1], ["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "5"], ["enrollment_type", "StudentEnrollment"], ["created_at", "2015-05-26 15:14:22.867102"], ["updated_at", "2015-05-26 15:14:22.867102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id", "canvas_enrollment_id", "enrollment_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_user_id", 1], ["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "6"], ["enrollment_type", "TeacherEnrollment"], ["created_at", "2015-05-26 15:14:22.868607"], ["updated_at", "2015-05-26 15:14:22.868607"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 43"], ["key", "Key 43"], ["secret", "Account 43"], ["canvas_account_id", "43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.873668"], ["updated_at", "2015-05-26 15:14:22.873668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test7@test.com"], ["name", "Factory User 7"], ["canvas_user_id", "7"], ["created_at", "2015-05-26 15:14:22.876173"], ["updated_at", "2015-05-26 15:14:22.876173"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 44"], ["key", "Key 44"], ["secret", "Account 44"], ["canvas_account_id", "44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.879418"], ["updated_at", "2015-05-26 15:14:22.879418"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 45"], ["key", "Key 45"], ["secret", "Account 45"], ["canvas_account_id", "45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.884702"], ["updated_at", "2015-05-26 15:14:22.884702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "19"], ["created_at", "2015-05-26 15:14:22.887438"], ["updated_at", "2015-05-26 15:14:22.887438"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "15"], ["created_at", "2015-05-26 15:14:22.889274"], ["updated_at", "2015-05-26 15:14:22.889274"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "6"], ["created_at", "2015-05-26 15:14:22.891098"], ["updated_at", "2015-05-26 15:14:22.891098"]]  (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) rollback transaction  (0.0ms) begin transaction  (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 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 47"], ["key", "Key 47"], ["secret", "Account 47"], ["canvas_account_id", "46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.904951"], ["updated_at", "2015-05-26 15:14:22.904951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 48"], ["key", "Key 48"], ["secret", "Account 48"], ["canvas_account_id", "47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.908945"], ["updated_at", "2015-05-26 15:14:22.908945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "20"], ["created_at", "2015-05-26 15:14:22.911256"], ["updated_at", "2015-05-26 15:14:22.911256"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "16"], ["created_at", "2015-05-26 15:14:22.912672"], ["updated_at", "2015-05-26 15:14:22.912672"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 49"], ["key", "Key 49"], ["secret", "Account 49"], ["canvas_account_id", "48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.919233"], ["updated_at", "2015-05-26 15:14:22.919233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 50"], ["key", "Key 50"], ["secret", "Account 50"], ["canvas_account_id", "49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.922974"], ["updated_at", "2015-05-26 15:14:22.922974"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "21"], ["created_at", "2015-05-26 15:14:22.925101"], ["updated_at", "2015-05-26 15:14:22.925101"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "17"], ["created_at", "2015-05-26 15:14:22.926427"], ["updated_at", "2015-05-26 15:14:22.926427"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 51"], ["key", "Key 51"], ["secret", "Account 51"], ["canvas_account_id", "50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.931900"], ["updated_at", "2015-05-26 15:14:22.931900"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 52"], ["key", "Key 52"], ["secret", "Account 52"], ["canvas_account_id", "51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.935746"], ["updated_at", "2015-05-26 15:14:22.935746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "22"], ["created_at", "2015-05-26 15:14:22.937974"], ["updated_at", "2015-05-26 15:14:22.937974"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "18"], ["created_at", "2015-05-26 15:14:22.939292"], ["updated_at", "2015-05-26 15:14:22.939292"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"], ["created_at", "2015-05-26 15:14:22.940843"], ["updated_at", "2015-05-26 15:14:22.940843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"], ["created_at", "2015-05-26 15:14:22.942157"], ["updated_at", "2015-05-26 15:14:22.942157"]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_sections.coalescing_panda_course_id, coalescing_panda_sections.canvas_section_id: INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (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 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.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 53"], ["key", "Key 53"], ["secret", "Account 53"], ["canvas_account_id", "52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.946972"], ["updated_at", "2015-05-26 15:14:22.946972"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 54"], ["key", "Key 54"], ["secret", "Account 54"], ["canvas_account_id", "53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.950794"], ["updated_at", "2015-05-26 15:14:22.950794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "23"], ["created_at", "2015-05-26 15:14:22.953003"], ["updated_at", "2015-05-26 15:14:22.953003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "19"], ["created_at", "2015-05-26 15:14:22.954629"], ["updated_at", "2015-05-26 15:14:22.954629"]]  (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 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.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 55"], ["key", "Key 55"], ["secret", "Account 55"], ["canvas_account_id", "54"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.968575"], ["updated_at", "2015-05-26 15:14:22.968575"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test8@test.com"], ["name", "Factory User 8"], ["canvas_user_id", "8"], ["created_at", "2015-05-26 15:14:22.972311"], ["updated_at", "2015-05-26 15:14:22.972311"]]  (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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 56"], ["key", "Key 56"], ["secret", "Account 56"], ["canvas_account_id", "55"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.977656"], ["updated_at", "2015-05-26 15:14:22.977656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 57"], ["key", "Key 57"], ["secret", "Account 57"], ["canvas_account_id", "56"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.981762"], ["updated_at", "2015-05-26 15:14:22.981762"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "24"], ["created_at", "2015-05-26 15:14:22.984062"], ["updated_at", "2015-05-26 15:14:22.984062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "20"], ["created_at", "2015-05-26 15:14:22.985577"], ["updated_at", "2015-05-26 15:14:22.985577"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("name", "coalescing_panda_course_id", "canvas_assignment_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "test assignment"], ["coalescing_panda_course_id", 1], ["canvas_assignment_id", "3"], ["created_at", "2015-05-26 15:14:22.986939"], ["updated_at", "2015-05-26 15:14:22.986939"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 58"], ["key", "Key 58"], ["secret", "Account 58"], ["canvas_account_id", "57"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:22.994461"], ["updated_at", "2015-05-26 15:14:22.994461"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test9@test.com"], ["name", "Factory User 9"], ["canvas_user_id", "9"], ["created_at", "2015-05-26 15:14:22.997917"], ["updated_at", "2015-05-26 15:14:22.997917"]]  (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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 59"], ["key", "Key 59"], ["secret", "Account 59"], ["canvas_account_id", "58"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.002366"], ["updated_at", "2015-05-26 15:14:23.002366"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 60"], ["key", "Key 60"], ["secret", "Account 60"], ["canvas_account_id", "59"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.006212"], ["updated_at", "2015-05-26 15:14:23.006212"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "25"], ["created_at", "2015-05-26 15:14:23.008102"], ["updated_at", "2015-05-26 15:14:23.008102"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "21"], ["created_at", "2015-05-26 15:14:23.009461"], ["updated_at", "2015-05-26 15:14:23.009461"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("name", "coalescing_panda_course_id", "canvas_assignment_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "test assignment"], ["coalescing_panda_course_id", 1], ["canvas_assignment_id", "4"], ["created_at", "2015-05-26 15:14:23.010977"], ["updated_at", "2015-05-26 15:14:23.010977"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 61"], ["key", "Key 61"], ["secret", "Account 61"], ["canvas_account_id", "60"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.016898"], ["updated_at", "2015-05-26 15:14:23.016898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test10@test.com"], ["name", "Factory User 10"], ["canvas_user_id", "10"], ["created_at", "2015-05-26 15:14:23.019323"], ["updated_at", "2015-05-26 15:14:23.019323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 62"], ["key", "Key 62"], ["secret", "Account 62"], ["canvas_account_id", "61"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.022536"], ["updated_at", "2015-05-26 15:14:23.022536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 63"], ["key", "Key 63"], ["secret", "Account 63"], ["canvas_account_id", "62"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.026326"], ["updated_at", "2015-05-26 15:14:23.026326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "26"], ["created_at", "2015-05-26 15:14:23.028318"], ["updated_at", "2015-05-26 15:14:23.028318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "22"], ["created_at", "2015-05-26 15:14:23.029722"], ["updated_at", "2015-05-26 15:14:23.029722"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("name", "coalescing_panda_course_id", "canvas_assignment_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "test assignment"], ["coalescing_panda_course_id", 1], ["canvas_assignment_id", "5"], ["created_at", "2015-05-26 15:14:23.031237"], ["updated_at", "2015-05-26 15:14:23.031237"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 64"], ["key", "Key 64"], ["secret", "Account 64"], ["canvas_account_id", "63"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.036968"], ["updated_at", "2015-05-26 15:14:23.036968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test11@test.com"], ["name", "Factory User 11"], ["canvas_user_id", "11"], ["created_at", "2015-05-26 15:14:23.039536"], ["updated_at", "2015-05-26 15:14:23.039536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 65"], ["key", "Key 65"], ["secret", "Account 65"], ["canvas_account_id", "64"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.042660"], ["updated_at", "2015-05-26 15:14:23.042660"]]  (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.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 66"], ["key", "Key 66"], ["secret", "Account 66"], ["canvas_account_id", "65"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.047444"], ["updated_at", "2015-05-26 15:14:23.047444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "27"], ["created_at", "2015-05-26 15:14:23.050059"], ["updated_at", "2015-05-26 15:14:23.050059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "23"], ["created_at", "2015-05-26 15:14:23.051922"], ["updated_at", "2015-05-26 15:14:23.051922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("name", "coalescing_panda_course_id", "canvas_assignment_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "test assignment"], ["coalescing_panda_course_id", 1], ["canvas_assignment_id", "6"], ["created_at", "2015-05-26 15:14:23.053766"], ["updated_at", "2015-05-26 15:14:23.053766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("coalescing_panda_user_id", "coalescing_panda_assignment_id", "canvas_submission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["coalescing_panda_user_id", 1], ["coalescing_panda_assignment_id", 1], ["canvas_submission_id", "1"], ["created_at", "2015-05-26 15:14:23.055898"], ["updated_at", "2015-05-26 15:14:23.055898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("coalescing_panda_user_id", "coalescing_panda_assignment_id", "canvas_submission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["coalescing_panda_user_id", 1], ["coalescing_panda_assignment_id", 1], ["canvas_submission_id", "1"], ["created_at", "2015-05-26 15:14:23.057701"], ["updated_at", "2015-05-26 15:14:23.057701"]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_submissions.coalescing_panda_user_id, coalescing_panda_submissions.coalescing_panda_assignment_id, coalescing_panda_submissions.canvas_submission_id: INSERT INTO "coalescing_panda_submissions" ("coalescing_panda_user_id", "coalescing_panda_assignment_id", "canvas_submission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  (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.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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 67"], ["key", "Key 67"], ["secret", "Account 67"], ["canvas_account_id", "66"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.062956"], ["updated_at", "2015-05-26 15:14:23.062956"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test12@test.com"], ["name", "Factory User 12"], ["canvas_user_id", "12"], ["created_at", "2015-05-26 15:14:23.065509"], ["updated_at", "2015-05-26 15:14:23.065509"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 68"], ["key", "Key 68"], ["secret", "Account 68"], ["canvas_account_id", "67"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.068806"], ["updated_at", "2015-05-26 15:14:23.068806"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 69"], ["key", "Key 69"], ["secret", "Account 69"], ["canvas_account_id", "68"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.072846"], ["updated_at", "2015-05-26 15:14:23.072846"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "28"], ["created_at", "2015-05-26 15:14:23.074971"], ["updated_at", "2015-05-26 15:14:23.074971"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "24"], ["created_at", "2015-05-26 15:14:23.076415"], ["updated_at", "2015-05-26 15:14:23.076415"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("name", "coalescing_panda_course_id", "canvas_assignment_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "test assignment"], ["coalescing_panda_course_id", 1], ["canvas_assignment_id", "7"], ["created_at", "2015-05-26 15:14:23.077842"], ["updated_at", "2015-05-26 15:14:23.077842"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("coalescing_panda_user_id", "coalescing_panda_assignment_id", "canvas_submission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["coalescing_panda_user_id", 1], ["coalescing_panda_assignment_id", 1], ["canvas_submission_id", "1"], ["created_at", "2015-05-26 15:14:23.079478"], ["updated_at", "2015-05-26 15:14:23.079478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("coalescing_panda_user_id", "coalescing_panda_assignment_id", "canvas_submission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["coalescing_panda_user_id", 1], ["coalescing_panda_assignment_id", 1], ["canvas_submission_id", "2"], ["created_at", "2015-05-26 15:14:23.080979"], ["updated_at", "2015-05-26 15:14:23.080979"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 70"], ["key", "Key 70"], ["secret", "Account 70"], ["canvas_account_id", "69"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.086126"], ["updated_at", "2015-05-26 15:14:23.086126"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test13@test.com"], ["name", "Factory User 13"], ["canvas_user_id", "13"], ["created_at", "2015-05-26 15:14:23.088622"], ["updated_at", "2015-05-26 15:14:23.088622"]]  (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 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.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 71"], ["key", "Key 71"], ["secret", "Account 71"], ["canvas_account_id", "70"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.091861"], ["updated_at", "2015-05-26 15:14:23.091861"]]  (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.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 72"], ["key", "Key 72"], ["secret", "Account 72"], ["canvas_account_id", "71"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.096814"], ["updated_at", "2015-05-26 15:14:23.096814"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "29"], ["created_at", "2015-05-26 15:14:23.099456"], ["updated_at", "2015-05-26 15:14:23.099456"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "25"], ["created_at", "2015-05-26 15:14:23.101296"], ["updated_at", "2015-05-26 15:14:23.101296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("name", "coalescing_panda_course_id", "canvas_assignment_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "test assignment"], ["coalescing_panda_course_id", 1], ["canvas_assignment_id", "8"], ["created_at", "2015-05-26 15:14:23.103127"], ["updated_at", "2015-05-26 15:14:23.103127"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 73"], ["key", "Key 73"], ["secret", "Account 73"], ["canvas_account_id", "72"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.109874"], ["updated_at", "2015-05-26 15:14:23.109874"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 74"], ["key", "Key 74"], ["secret", "Account 74"], ["canvas_account_id", "73"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.115574"], ["updated_at", "2015-05-26 15:14:23.115574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_term_id", "1"], ["created_at", "2015-05-26 15:14:23.118399"], ["updated_at", "2015-05-26 15:14:23.118399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_term_id", "1"], ["created_at", "2015-05-26 15:14:23.120088"], ["updated_at", "2015-05-26 15:14:23.120088"]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_terms.canvas_term_id, coalescing_panda_terms.coalescing_panda_lti_account_id: INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (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) 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 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.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 75"], ["key", "Key 75"], ["secret", "Account 75"], ["canvas_account_id", "74"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.126975"], ["updated_at", "2015-05-26 15:14:23.126975"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 76"], ["key", "Key 76"], ["secret", "Account 76"], ["canvas_account_id", "75"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.133959"], ["updated_at", "2015-05-26 15:14:23.133959"]]  (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 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.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 77"], ["key", "Key 77"], ["secret", "Account 77"], ["canvas_account_id", "76"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.139998"], ["updated_at", "2015-05-26 15:14:23.139998"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test16@test.com"], ["name", "Factory User 16"], ["canvas_user_id", "1"], ["created_at", "2015-05-26 15:14:23.142924"], ["updated_at", "2015-05-26 15:14:23.142924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test17@test.com"], ["name", "Factory User 17"], ["canvas_user_id", "1"], ["created_at", "2015-05-26 15:14:23.144949"], ["updated_at", "2015-05-26 15:14:23.144949"]] SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_users.coalescing_panda_lti_account_id, coalescing_panda_users.canvas_user_id: INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 78"], ["key", "Key 78"], ["secret", "Account 78"], ["canvas_account_id", "77"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.149307"], ["updated_at", "2015-05-26 15:14:23.149307"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 79"], ["key", "Key 79"], ["secret", "Account 79"], ["canvas_account_id", "78"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.158520"], ["updated_at", "2015-05-26 15:14:23.158520"]]  (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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 80"], ["key", "Key 80"], ["secret", "Account 80"], ["canvas_account_id", "79"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.163726"], ["updated_at", "2015-05-26 15:14:23.163726"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "31"], ["created_at", "2015-05-26 15:14:23.167071"], ["updated_at", "2015-05-26 15:14:23.167071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "26"], ["created_at", "2015-05-26 15:14:23.169032"], ["updated_at", "2015-05-26 15:14:23.169032"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2015-05-26 15:14:23.185630"], ["updated_at", "2015-05-26 15:14:23.185630"]]  (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 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.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 81"], ["key", "Key 81"], ["secret", "Account 81"], ["canvas_account_id", "80"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.193685"], ["updated_at", "2015-05-26 15:14:23.193685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 82"], ["key", "Key 82"], ["secret", "Account 82"], ["canvas_account_id", "81"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.197483"], ["updated_at", "2015-05-26 15:14:23.197483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "32"], ["created_at", "2015-05-26 15:14:23.200146"], ["updated_at", "2015-05-26 15:14:23.200146"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "27"], ["created_at", "2015-05-26 15:14:23.201644"], ["updated_at", "2015-05-26 15:14:23.201644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2015-05-26 15:14:23.204575"], ["updated_at", "2015-05-26 15:14:23.204575"]]  (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 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.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 83"], ["key", "Key 83"], ["secret", "Account 83"], ["canvas_account_id", "82"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.213006"], ["updated_at", "2015-05-26 15:14:23.213006"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 84"], ["key", "Key 84"], ["secret", "Account 84"], ["canvas_account_id", "83"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.216849"], ["updated_at", "2015-05-26 15:14:23.216849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "33"], ["created_at", "2015-05-26 15:14:23.219064"], ["updated_at", "2015-05-26 15:14:23.219064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "28"], ["created_at", "2015-05-26 15:14:23.220380"], ["updated_at", "2015-05-26 15:14:23.220380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2015-05-26 15:14:23.223088"], ["updated_at", "2015-05-26 15:14:23.223088"]]  (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" = ? [["status", "Started"], ["updated_at", "2015-05-26 15:14:23.241241"], ["id", 1]]  (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 "coalescing_panda_sections"."canvas_section_id" = ? ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"], ["name", "Course1"], ["created_at", "2015-05-26 15:14:23.246086"], ["updated_at", "2015-05-26 15:14:23.246086"]]  (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 ("coalescing_panda_sections"."id" != 1) [["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" = ? [["percent_complete", 12.5], ["updated_at", "2015-05-26 15:14:23.248251"], ["id", 1]]  (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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"], ["name", "teacher@test.com"], ["sis_id", ""], ["created_at", "2015-05-26 15:14:23.251712"], ["updated_at", "2015-05-26 15:14:23.251712"]]  (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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"], ["name", "student1@test.com"], ["sis_id", ""], ["created_at", "2015-05-26 15:14:23.253722"], ["updated_at", "2015-05-26 15:14:23.253722"]]  (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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"], ["name", "student2@test.com"], ["sis_id", ""], ["created_at", "2015-05-26 15:14:23.255536"], ["updated_at", "2015-05-26 15:14:23.255536"]]  (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 ("coalescing_panda_users"."id" IS NOT NULL) [["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" = ? [["percent_complete", 25.0], ["updated_at", "2015-05-26 15:14:23.265626"], ["id", 1]]  (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 "coalescing_panda_sections"."canvas_section_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]] CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? AND "coalescing_panda_enrollments"."canvas_enrollment_id" = ? ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "1"]] CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]] CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state", "enrollment_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "1"], ["coalescing_panda_user_id", 1], ["created_at", "2014-11-07 21:17:54.000000"], ["updated_at", "2014-11-11 22:11:19.000000"], ["workflow_state", "active"], ["enrollment_type", "TeacherEnrollment"]]  (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 "coalescing_panda_sections"."canvas_section_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]] CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? AND "coalescing_panda_enrollments"."canvas_enrollment_id" = ? ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "2"]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state", "enrollment_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "2"], ["coalescing_panda_user_id", 2], ["created_at", "2014-11-07 21:18:16.000000"], ["updated_at", "2014-11-20 23:18:17.000000"], ["workflow_state", "active"], ["enrollment_type", "StudentEnrollment"]]  (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 "coalescing_panda_sections"."canvas_section_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]] CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? AND "coalescing_panda_enrollments"."canvas_enrollment_id" = ? ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "3"]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state", "enrollment_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "3"], ["coalescing_panda_user_id", 3], ["created_at", "2014-11-07 21:18:17.000000"], ["updated_at", "2014-11-20 23:18:21.000000"], ["workflow_state", "active"], ["enrollment_type", "StudentEnrollment"]]  (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 ("coalescing_panda_enrollments"."id" NOT IN (1, 2, 3)) [["coalescing_panda_course_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["percent_complete", 37.5], ["updated_at", "2015-05-26 15:14:23.285276"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::AssignmentGroup Load (0.1ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups" WHERE "coalescing_panda_assignment_groups"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignment_groups"."canvas_assignment_group_id" = ? ORDER BY "coalescing_panda_assignment_groups"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_group_id", "3"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignment_groups" ("coalescing_panda_course_id", "canvas_assignment_group_id", "group_weight", "name", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_assignment_group_id", "3"], ["group_weight", 500.0], ["name", "Assignments"], ["position", 3], ["created_at", "2015-05-26 15:14:23.288787"], ["updated_at", "2015-05-26 15:14:23.288787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::AssignmentGroup Load (0.1ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups" WHERE "coalescing_panda_assignment_groups"."coalescing_panda_course_id" = ? AND ("coalescing_panda_assignment_groups"."id" != 1) [["coalescing_panda_course_id", 1]]  (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" = ? [["percent_complete", 50.0], ["updated_at", "2015-05-26 15:14:23.290585"], ["id", 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 "coalescing_panda_assignments"."canvas_assignment_id" = ? ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "1"]] CoalescingPanda::AssignmentGroup Load (0.1ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups" WHERE "coalescing_panda_assignment_groups"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignment_groups"."canvas_assignment_group_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_group_id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id", "created_at", "description", "grade_group_students_individually", "points_possible", "updated_at", "name", "submission_types", "published") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "1"], ["created_at", "2014-11-18 18:04:38.000000"], ["description", "

What is your name?

"], ["grade_group_students_individually", "f"], ["points_possible", 100.0], ["updated_at", "2014-11-18 18:04:42.000000"], ["name", "Gimme your name"], ["submission_types", "---\n- online_text_entry\n"], ["published", "t"]]  (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 "coalescing_panda_assignments"."canvas_assignment_id" = ? ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "2"]] CoalescingPanda::AssignmentGroup Load (0.0ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups" WHERE "coalescing_panda_assignment_groups"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignment_groups"."canvas_assignment_group_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_group_id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id", "created_at", "description", "grade_group_students_individually", "points_possible", "updated_at", "name", "submission_types", "published") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "2"], ["created_at", "2014-11-18 19:10:28.000000"], ["description", "

What is your Favorite Color?

"], ["grade_group_students_individually", "f"], ["points_possible", 100.0], ["updated_at", "2014-11-18 19:10:30.000000"], ["name", "Favorite Color"], ["submission_types", "---\n- online_text_entry\n"], ["published", "t"]]  (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 ("coalescing_panda_assignments"."id" NOT IN (1, 2)) [["coalescing_panda_course_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["percent_complete", 62.5], ["updated_at", "2015-05-26 15:14:23.311209"], ["id", 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]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["percent_complete", 75.0], ["updated_at", "2015-05-26 15:14:23.313529"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_groups" ("context_id", "context_type", "canvas_group_id", "group_category_id", "name", "members_count", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"], ["group_category_id", "3"], ["name", "Student Group 1"], ["members_count", 2], ["created_at", "2015-05-26 15:14:23.322360"], ["updated_at", "2015-05-26 15:14:23.322360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.3ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "5"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_groups" ("context_id", "context_type", "canvas_group_id", "group_category_id", "name", "members_count", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "5"], ["group_category_id", "3"], ["name", "Student Group 2"], ["members_count", 2], ["created_at", "2015-05-26 15:14:23.324894"], ["updated_at", "2015-05-26 15:14:23.324894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.2ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND ("coalescing_panda_groups"."id" NOT IN (1, 2)) [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["percent_complete", 87.5], ["updated_at", "2015-05-26 15:14:23.326629"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::GroupMembership Load (0.2ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_group_memberships"."canvas_group_membership_id" = ? ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_membership_id", "13"]] CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"]] CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_group_membership_id", "13"], ["coalescing_panda_group_id", 1], ["coalescing_panda_user_id", 2], ["workflow_state", "accepted"], ["created_at", "2015-05-26 15:14:23.338293"], ["updated_at", "2015-05-26 15:14:23.338293"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_group_memberships"."canvas_group_membership_id" = ? ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_membership_id", "14"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "3"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_group_membership_id", "14"], ["coalescing_panda_group_id", 1], ["coalescing_panda_user_id", 3], ["workflow_state", "accepted"], ["created_at", "2015-05-26 15:14:23.341638"], ["updated_at", "2015-05-26 15:14:23.341638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_group_memberships"."canvas_group_membership_id" = ? ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_membership_id", "13"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "2"]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_group_memberships"."canvas_group_membership_id" = ? ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_membership_id", "14"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "3"]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["percent_complete", 100.0], ["updated_at", "2015-05-26 15:14:23.348073"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["status", "Completed"], ["updated_at", "2015-05-26 15:14:23.349089"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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 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.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 85"], ["key", "Key 85"], ["secret", "Account 85"], ["canvas_account_id", "84"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.357271"], ["updated_at", "2015-05-26 15:14:23.357271"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 86"], ["key", "Key 86"], ["secret", "Account 86"], ["canvas_account_id", "85"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.361125"], ["updated_at", "2015-05-26 15:14:23.361125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "34"], ["created_at", "2015-05-26 15:14:23.364701"], ["updated_at", "2015-05-26 15:14:23.364701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "29"], ["created_at", "2015-05-26 15:14:23.366713"], ["updated_at", "2015-05-26 15:14:23.366713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2015-05-26 15:14:23.370676"], ["updated_at", "2015-05-26 15:14:23.370676"]]  (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 "coalescing_panda_sections"."canvas_section_id" = ? ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"], ["name", "Course1"], ["created_at", "2015-05-26 15:14:23.373403"], ["updated_at", "2015-05-26 15:14:23.373403"]]  (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 ("coalescing_panda_sections"."id" != 1) [["coalescing_panda_course_id", 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 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.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 87"], ["key", "Key 87"], ["secret", "Account 87"], ["canvas_account_id", "86"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.381843"], ["updated_at", "2015-05-26 15:14:23.381843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 88"], ["key", "Key 88"], ["secret", "Account 88"], ["canvas_account_id", "87"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.385779"], ["updated_at", "2015-05-26 15:14:23.385779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "35"], ["created_at", "2015-05-26 15:14:23.388320"], ["updated_at", "2015-05-26 15:14:23.388320"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "30"], ["created_at", "2015-05-26 15:14:23.389843"], ["updated_at", "2015-05-26 15:14:23.389843"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2015-05-26 15:14:23.392818"], ["updated_at", "2015-05-26 15:14:23.392818"]]  (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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"], ["name", "teacher@test.com"], ["sis_id", ""], ["created_at", "2015-05-26 15:14:23.395057"], ["updated_at", "2015-05-26 15:14:23.395057"]]  (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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"], ["name", "student1@test.com"], ["sis_id", ""], ["created_at", "2015-05-26 15:14:23.396931"], ["updated_at", "2015-05-26 15:14:23.396931"]]  (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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"], ["name", "student2@test.com"], ["sis_id", ""], ["created_at", "2015-05-26 15:14:23.399143"], ["updated_at", "2015-05-26 15:14:23.399143"]]  (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 ("coalescing_panda_users"."id" IS NOT NULL) [["coalescing_panda_course_id", 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 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.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 89"], ["key", "Key 89"], ["secret", "Account 89"], ["canvas_account_id", "88"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.408022"], ["updated_at", "2015-05-26 15:14:23.408022"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 90"], ["key", "Key 90"], ["secret", "Account 90"], ["canvas_account_id", "89"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.411753"], ["updated_at", "2015-05-26 15:14:23.411753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "36"], ["created_at", "2015-05-26 15:14:23.414398"], ["updated_at", "2015-05-26 15:14:23.414398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "31"], ["created_at", "2015-05-26 15:14:23.415923"], ["updated_at", "2015-05-26 15:14:23.415923"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2015-05-26 15:14:23.419053"], ["updated_at", "2015-05-26 15:14:23.419053"]]  (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 "coalescing_panda_sections"."canvas_section_id" = ? ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"], ["name", "Course1"], ["created_at", "2015-05-26 15:14:23.421286"], ["updated_at", "2015-05-26 15:14:23.421286"]]  (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 ("coalescing_panda_sections"."id" != 1) [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"], ["name", "teacher@test.com"], ["sis_id", ""], ["created_at", "2015-05-26 15:14:23.423699"], ["updated_at", "2015-05-26 15:14:23.423699"]]  (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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"], ["name", "student1@test.com"], ["sis_id", ""], ["created_at", "2015-05-26 15:14:23.425473"], ["updated_at", "2015-05-26 15:14:23.425473"]]  (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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"], ["name", "student2@test.com"], ["sis_id", ""], ["created_at", "2015-05-26 15:14:23.427332"], ["updated_at", "2015-05-26 15:14:23.427332"]]  (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 ("coalescing_panda_users"."id" IS NOT NULL) [["coalescing_panda_course_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]] CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? AND "coalescing_panda_enrollments"."canvas_enrollment_id" = ? ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "1"]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state", "enrollment_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "1"], ["coalescing_panda_user_id", 1], ["created_at", "2014-11-07 21:17:54.000000"], ["updated_at", "2014-11-11 22:11:19.000000"], ["workflow_state", "active"], ["enrollment_type", "TeacherEnrollment"]]  (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 "coalescing_panda_sections"."canvas_section_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]] CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? AND "coalescing_panda_enrollments"."canvas_enrollment_id" = ? ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "2"]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state", "enrollment_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "2"], ["coalescing_panda_user_id", 2], ["created_at", "2014-11-07 21:18:16.000000"], ["updated_at", "2014-11-20 23:18:17.000000"], ["workflow_state", "active"], ["enrollment_type", "StudentEnrollment"]]  (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 "coalescing_panda_sections"."canvas_section_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]] CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? AND "coalescing_panda_enrollments"."canvas_enrollment_id" = ? ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "3"]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state", "enrollment_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "3"], ["coalescing_panda_user_id", 3], ["created_at", "2014-11-07 21:18:17.000000"], ["updated_at", "2014-11-20 23:18:21.000000"], ["workflow_state", "active"], ["enrollment_type", "StudentEnrollment"]]  (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 ("coalescing_panda_enrollments"."id" NOT IN (1, 2, 3)) [["coalescing_panda_course_id", 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.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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 91"], ["key", "Key 91"], ["secret", "Account 91"], ["canvas_account_id", "90"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.452687"], ["updated_at", "2015-05-26 15:14:23.452687"]]  (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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 92"], ["key", "Key 92"], ["secret", "Account 92"], ["canvas_account_id", "91"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.458204"], ["updated_at", "2015-05-26 15:14:23.458204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "37"], ["created_at", "2015-05-26 15:14:23.461209"], ["updated_at", "2015-05-26 15:14:23.461209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "32"], ["created_at", "2015-05-26 15:14:23.462920"], ["updated_at", "2015-05-26 15:14:23.462920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2015-05-26 15:14:23.466152"], ["updated_at", "2015-05-26 15:14:23.466152"]]  (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 "coalescing_panda_assignments"."canvas_assignment_id" = ? ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "1"]] CoalescingPanda::AssignmentGroup Load (0.0ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups" WHERE "coalescing_panda_assignment_groups"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignment_groups"."canvas_assignment_group_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_group_id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id", "created_at", "description", "grade_group_students_individually", "points_possible", "updated_at", "name", "submission_types", "published") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "1"], ["created_at", "2014-11-18 18:04:38.000000"], ["description", "

What is your name?

"], ["grade_group_students_individually", "f"], ["points_possible", 100.0], ["updated_at", "2014-11-18 18:04:42.000000"], ["name", "Gimme your name"], ["submission_types", "---\n- online_text_entry\n"], ["published", "t"]]  (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 "coalescing_panda_assignments"."canvas_assignment_id" = ? ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "2"]] CoalescingPanda::AssignmentGroup Load (0.0ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups" WHERE "coalescing_panda_assignment_groups"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignment_groups"."canvas_assignment_group_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_group_id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id", "created_at", "description", "grade_group_students_individually", "points_possible", "updated_at", "name", "submission_types", "published") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "2"], ["created_at", "2014-11-18 19:10:28.000000"], ["description", "

What is your Favorite Color?

"], ["grade_group_students_individually", "f"], ["points_possible", 100.0], ["updated_at", "2014-11-18 19:10:30.000000"], ["name", "Favorite Color"], ["submission_types", "---\n- online_text_entry\n"], ["published", "t"]]  (0.0ms) RELEASE SAVEPOINT 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 ("coalescing_panda_assignments"."id" NOT IN (1, 2)) [["coalescing_panda_course_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"  (0.9ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::AssignmentGroup Load (0.1ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups"  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignment_groups"  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 93"], ["key", "Key 93"], ["secret", "Account 93"], ["canvas_account_id", "92"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.485837"], ["updated_at", "2015-05-26 15:14:23.485837"]]  (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.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 94"], ["key", "Key 94"], ["secret", "Account 94"], ["canvas_account_id", "93"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.491596"], ["updated_at", "2015-05-26 15:14:23.491596"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "38"], ["created_at", "2015-05-26 15:14:23.494905"], ["updated_at", "2015-05-26 15:14:23.494905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "33"], ["created_at", "2015-05-26 15:14:23.496732"], ["updated_at", "2015-05-26 15:14:23.496732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2015-05-26 15:14:23.500471"], ["updated_at", "2015-05-26 15:14:23.500471"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::AssignmentGroup Load (0.0ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups" WHERE "coalescing_panda_assignment_groups"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignment_groups"."canvas_assignment_group_id" = ? ORDER BY "coalescing_panda_assignment_groups"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_group_id", "3"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignment_groups" ("coalescing_panda_course_id", "canvas_assignment_group_id", "group_weight", "name", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_assignment_group_id", "3"], ["group_weight", 500.0], ["name", "Assignments"], ["position", 3], ["created_at", "2015-05-26 15:14:23.502931"], ["updated_at", "2015-05-26 15:14:23.502931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::AssignmentGroup Load (0.0ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups" WHERE "coalescing_panda_assignment_groups"."coalescing_panda_course_id" = ? AND ("coalescing_panda_assignment_groups"."id" != 1) [["coalescing_panda_course_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignment_groups"  (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 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.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 95"], ["key", "Key 95"], ["secret", "Account 95"], ["canvas_account_id", "94"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.510937"], ["updated_at", "2015-05-26 15:14:23.510937"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 96"], ["key", "Key 96"], ["secret", "Account 96"], ["canvas_account_id", "95"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.514692"], ["updated_at", "2015-05-26 15:14:23.514692"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "39"], ["created_at", "2015-05-26 15:14:23.517605"], ["updated_at", "2015-05-26 15:14:23.517605"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "34"], ["created_at", "2015-05-26 15:14:23.519853"], ["updated_at", "2015-05-26 15:14:23.519853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2015-05-26 15:14:23.523667"], ["updated_at", "2015-05-26 15:14:23.523667"]]  (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 "coalescing_panda_sections"."canvas_section_id" = ? ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"], ["name", "Course1"], ["created_at", "2015-05-26 15:14:23.526704"], ["updated_at", "2015-05-26 15:14:23.526704"]]  (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 ("coalescing_panda_sections"."id" != 1) [["coalescing_panda_course_id", 1]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"], ["name", "teacher@test.com"], ["sis_id", ""], ["created_at", "2015-05-26 15:14:23.529602"], ["updated_at", "2015-05-26 15:14:23.529602"]]  (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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"], ["name", "student1@test.com"], ["sis_id", ""], ["created_at", "2015-05-26 15:14:23.531620"], ["updated_at", "2015-05-26 15:14:23.531620"]]  (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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"], ["name", "student2@test.com"], ["sis_id", ""], ["created_at", "2015-05-26 15:14:23.533510"], ["updated_at", "2015-05-26 15:14:23.533510"]]  (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 ("coalescing_panda_users"."id" IS NOT NULL) [["coalescing_panda_course_id", 1]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]] CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? AND "coalescing_panda_enrollments"."canvas_enrollment_id" = ? ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "1"]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state", "enrollment_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "1"], ["coalescing_panda_user_id", 1], ["created_at", "2014-11-07 21:17:54.000000"], ["updated_at", "2014-11-11 22:11:19.000000"], ["workflow_state", "active"], ["enrollment_type", "TeacherEnrollment"]]  (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 "coalescing_panda_sections"."canvas_section_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]] CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? AND "coalescing_panda_enrollments"."canvas_enrollment_id" = ? ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "2"]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state", "enrollment_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "2"], ["coalescing_panda_user_id", 2], ["created_at", "2014-11-07 21:18:16.000000"], ["updated_at", "2014-11-20 23:18:17.000000"], ["workflow_state", "active"], ["enrollment_type", "StudentEnrollment"]]  (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 "coalescing_panda_sections"."canvas_section_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]] CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? AND "coalescing_panda_enrollments"."canvas_enrollment_id" = ? ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "3"]] CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state", "enrollment_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "3"], ["coalescing_panda_user_id", 3], ["created_at", "2014-11-07 21:18:17.000000"], ["updated_at", "2014-11-20 23:18:21.000000"], ["workflow_state", "active"], ["enrollment_type", "StudentEnrollment"]]  (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 ("coalescing_panda_enrollments"."id" NOT IN (1, 2, 3)) [["coalescing_panda_course_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" = ? ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "1"]] CoalescingPanda::AssignmentGroup Load (0.0ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups" WHERE "coalescing_panda_assignment_groups"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignment_groups"."canvas_assignment_group_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_group_id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id", "created_at", "description", "grade_group_students_individually", "points_possible", "updated_at", "name", "submission_types", "published") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "1"], ["created_at", "2014-11-18 18:04:38.000000"], ["description", "

What is your name?

"], ["grade_group_students_individually", "f"], ["points_possible", 100.0], ["updated_at", "2014-11-18 18:04:42.000000"], ["name", "Gimme your name"], ["submission_types", "---\n- online_text_entry\n"], ["published", "t"]]  (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 "coalescing_panda_assignments"."canvas_assignment_id" = ? ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "2"]] CoalescingPanda::AssignmentGroup Load (0.0ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups" WHERE "coalescing_panda_assignment_groups"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignment_groups"."canvas_assignment_group_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_group_id", "1"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id", "created_at", "description", "grade_group_students_individually", "points_possible", "updated_at", "name", "submission_types", "published") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "2"], ["created_at", "2014-11-18 19:10:28.000000"], ["description", "

What is your Favorite Color?

"], ["grade_group_students_individually", "f"], ["points_possible", 100.0], ["updated_at", "2014-11-18 19:10:30.000000"], ["name", "Favorite Color"], ["submission_types", "---\n- online_text_entry\n"], ["published", "t"]]  (0.0ms) RELEASE SAVEPOINT 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 ("coalescing_panda_assignments"."id" NOT IN (1, 2)) [["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 "coalescing_panda_submissions"."canvas_submission_id" = ? ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_submission_id", "3"]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "3"]] CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_user_id", "coalescing_panda_assignment_id", "grade", "score", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", "3"], ["coalescing_panda_user_id", 3], ["coalescing_panda_assignment_id", 1], ["grade", "70"], ["score", "70"], ["workflow_state", "graded"], ["created_at", "2015-05-26 15:14:23.563887"], ["updated_at", "2015-05-26 15:14:23.563887"]]  (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 "coalescing_panda_submissions"."canvas_submission_id" = ? ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_submission_id", "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 "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "2"]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_user_id", "coalescing_panda_assignment_id", "grade", "score", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_user_id", 2], ["coalescing_panda_assignment_id", 1], ["grade", "100"], ["score", "100"], ["workflow_state", "graded"], ["created_at", "2015-05-26 15:14:23.567768"], ["updated_at", "2015-05-26 15:14:23.567768"]]  (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 "coalescing_panda_submissions"."canvas_submission_id" = ? ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_submission_id", "4"]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "3"]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_user_id", "coalescing_panda_assignment_id", "grade", "score", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", "4"], ["coalescing_panda_user_id", 3], ["coalescing_panda_assignment_id", 2], ["grade", "90"], ["score", "90"], ["workflow_state", "graded"], ["created_at", "2015-05-26 15:14:23.571352"], ["updated_at", "2015-05-26 15:14:23.571352"]]  (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 "coalescing_panda_submissions"."canvas_submission_id" = ? ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_submission_id", "2"]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "2"]] CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_user_id", "coalescing_panda_assignment_id", "grade", "score", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_user_id", 2], ["coalescing_panda_assignment_id", 2], ["grade", "80"], ["score", "80"], ["workflow_state", "graded"], ["created_at", "2015-05-26 15:14:23.574960"], ["updated_at", "2015-05-26 15:14:23.574960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"  (1.2ms) rollback transaction  (0.1ms) begin transaction CoalescingPanda::Group Load (0.2ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups"  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 97"], ["key", "Key 97"], ["secret", "Account 97"], ["canvas_account_id", "96"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.585007"], ["updated_at", "2015-05-26 15:14:23.585007"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 98"], ["key", "Key 98"], ["secret", "Account 98"], ["canvas_account_id", "97"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.589950"], ["updated_at", "2015-05-26 15:14:23.589950"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "40"], ["created_at", "2015-05-26 15:14:23.592531"], ["updated_at", "2015-05-26 15:14:23.592531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "35"], ["created_at", "2015-05-26 15:14:23.593930"], ["updated_at", "2015-05-26 15:14:23.593930"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2015-05-26 15:14:23.596736"], ["updated_at", "2015-05-26 15:14:23.596736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_groups" ("context_id", "context_type", "canvas_group_id", "group_category_id", "name", "members_count", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"], ["group_category_id", "3"], ["name", "Student Group 1"], ["members_count", 2], ["created_at", "2015-05-26 15:14:23.599368"], ["updated_at", "2015-05-26 15:14:23.599368"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "5"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_groups" ("context_id", "context_type", "canvas_group_id", "group_category_id", "name", "members_count", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "5"], ["group_category_id", "3"], ["name", "Student Group 2"], ["members_count", 2], ["created_at", "2015-05-26 15:14:23.601550"], ["updated_at", "2015-05-26 15:14:23.601550"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND ("coalescing_panda_groups"."id" NOT IN (1, 2)) [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_groups"  (0.7ms) rollback transaction  (0.0ms) begin transaction CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships"  (0.0ms) SAVEPOINT 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.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 99"], ["key", "Key 99"], ["secret", "Account 99"], ["canvas_account_id", "98"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.609518"], ["updated_at", "2015-05-26 15:14:23.609518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 100"], ["key", "Key 100"], ["secret", "Account 100"], ["canvas_account_id", "99"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.613209"], ["updated_at", "2015-05-26 15:14:23.613209"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "41"], ["created_at", "2015-05-26 15:14:23.615992"], ["updated_at", "2015-05-26 15:14:23.615992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "36"], ["created_at", "2015-05-26 15:14:23.618289"], ["updated_at", "2015-05-26 15:14:23.618289"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2015-05-26 15:14:23.622189"], ["updated_at", "2015-05-26 15:14:23.622189"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_group_memberships"."canvas_group_membership_id" = ? ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_membership_id", "13"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "2"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_group_membership_id", "13"], ["workflow_state", "accepted"], ["created_at", "2015-05-26 15:14:23.627197"], ["updated_at", "2015-05-26 15:14:23.627197"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_group_memberships"."canvas_group_membership_id" = ? ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_membership_id", "14"]] CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"]] CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "3"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_group_membership_id", "14"], ["workflow_state", "accepted"], ["created_at", "2015-05-26 15:14:23.630323"], ["updated_at", "2015-05-26 15:14:23.630323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_group_memberships"  (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 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.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 101"], ["key", "Key 101"], ["secret", "Account 101"], ["canvas_account_id", "100"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.637766"], ["updated_at", "2015-05-26 15:14:23.637766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 102"], ["key", "Key 102"], ["secret", "Account 102"], ["canvas_account_id", "101"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.641522"], ["updated_at", "2015-05-26 15:14:23.641522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "42"], ["created_at", "2015-05-26 15:14:23.644102"], ["updated_at", "2015-05-26 15:14:23.644102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "37"], ["created_at", "2015-05-26 15:14:23.645621"], ["updated_at", "2015-05-26 15:14:23.645621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2015-05-26 15:14:23.648608"], ["updated_at", "2015-05-26 15:14:23.648608"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 103"], ["key", "Key 103"], ["secret", "Account 103"], ["canvas_account_id", "102"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.656894"], ["updated_at", "2015-05-26 15:14:23.656894"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 104"], ["key", "Key 104"], ["secret", "Account 104"], ["canvas_account_id", "103"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.662258"], ["updated_at", "2015-05-26 15:14:23.662258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "43"], ["created_at", "2015-05-26 15:14:23.665208"], ["updated_at", "2015-05-26 15:14:23.665208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "38"], ["created_at", "2015-05-26 15:14:23.666807"], ["updated_at", "2015-05-26 15:14:23.666807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2015-05-26 15:14:23.670107"], ["updated_at", "2015-05-26 15:14:23.670107"]]  (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 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.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 105"], ["key", "Key 105"], ["secret", "Account 105"], ["canvas_account_id", "104"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.677468"], ["updated_at", "2015-05-26 15:14:23.677468"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 106"], ["key", "Key 106"], ["secret", "Account 106"], ["canvas_account_id", "105"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.681202"], ["updated_at", "2015-05-26 15:14:23.681202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "44"], ["created_at", "2015-05-26 15:14:23.684550"], ["updated_at", "2015-05-26 15:14:23.684550"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "39"], ["created_at", "2015-05-26 15:14:23.686727"], ["updated_at", "2015-05-26 15:14:23.686727"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2015-05-26 15:14:23.690555"], ["updated_at", "2015-05-26 15:14:23.690555"]]  (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 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.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 107"], ["key", "Key 107"], ["secret", "Account 107"], ["canvas_account_id", "106"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.699086"], ["updated_at", "2015-05-26 15:14:23.699086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 108"], ["key", "Key 108"], ["secret", "Account 108"], ["canvas_account_id", "107"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.702840"], ["updated_at", "2015-05-26 15:14:23.702840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "45"], ["created_at", "2015-05-26 15:14:23.705664"], ["updated_at", "2015-05-26 15:14:23.705664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "40"], ["created_at", "2015-05-26 15:14:23.707921"], ["updated_at", "2015-05-26 15:14:23.707921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2015-05-26 15:14:23.711773"], ["updated_at", "2015-05-26 15:14:23.711773"]]  (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 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.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 109"], ["key", "Key 109"], ["secret", "Account 109"], ["canvas_account_id", "108"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.720428"], ["updated_at", "2015-05-26 15:14:23.720428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 110"], ["key", "Key 110"], ["secret", "Account 110"], ["canvas_account_id", "109"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.724125"], ["updated_at", "2015-05-26 15:14:23.724125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "46"], ["created_at", "2015-05-26 15:14:23.726574"], ["updated_at", "2015-05-26 15:14:23.726574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "41"], ["created_at", "2015-05-26 15:14:23.728042"], ["updated_at", "2015-05-26 15:14:23.728042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2015-05-26 15:14:23.731697"], ["updated_at", "2015-05-26 15:14:23.731697"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 111"], ["key", "Key 111"], ["secret", "Account 111"], ["canvas_account_id", "110"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.741795"], ["updated_at", "2015-05-26 15:14:23.741795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 112"], ["key", "Key 112"], ["secret", "Account 112"], ["canvas_account_id", "111"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.746672"], ["updated_at", "2015-05-26 15:14:23.746672"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "47"], ["created_at", "2015-05-26 15:14:23.749236"], ["updated_at", "2015-05-26 15:14:23.749236"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "42"], ["created_at", "2015-05-26 15:14:23.750692"], ["updated_at", "2015-05-26 15:14:23.750692"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2015-05-26 15:14:23.753939"], ["updated_at", "2015-05-26 15:14:23.753939"]]  (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 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.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 113"], ["key", "Key 113"], ["secret", "Account 113"], ["canvas_account_id", "112"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.769566"], ["updated_at", "2015-05-26 15:14:23.769566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 114"], ["key", "Key 114"], ["secret", "Account 114"], ["canvas_account_id", "113"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.773235"], ["updated_at", "2015-05-26 15:14:23.773235"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "48"], ["created_at", "2015-05-26 15:14:23.775562"], ["updated_at", "2015-05-26 15:14:23.775562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "43"], ["created_at", "2015-05-26 15:14:23.776971"], ["updated_at", "2015-05-26 15:14:23.776971"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2015-05-26 15:14:23.779723"], ["updated_at", "2015-05-26 15:14:23.779723"]]  (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 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.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 115"], ["key", "Key 115"], ["secret", "Account 115"], ["canvas_account_id", "114"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.788649"], ["updated_at", "2015-05-26 15:14:23.788649"]]  (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 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" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 116"], ["key", "Key 116"], ["secret", "Account 116"], ["canvas_account_id", "115"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.793423"], ["updated_at", "2015-05-26 15:14:23.793423"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "49"], ["created_at", "2015-05-26 15:14:23.795996"], ["updated_at", "2015-05-26 15:14:23.795996"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "44"], ["created_at", "2015-05-26 15:14:23.797627"], ["updated_at", "2015-05-26 15:14:23.797627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2015-05-26 15:14:23.800506"], ["updated_at", "2015-05-26 15:14:23.800506"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (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 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.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 117"], ["key", "Key 117"], ["secret", "Account 117"], ["canvas_account_id", "116"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.807891"], ["updated_at", "2015-05-26 15:14:23.807891"]]  (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 118' LIMIT 1 CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1 SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 118"], ["key", "Key 118"], ["secret", "Account 118"], ["canvas_account_id", "117"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2015-05-26 15:14:23.811624"], ["updated_at", "2015-05-26 15:14:23.811624"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "50"], ["created_at", "2015-05-26 15:14:23.813913"], ["updated_at", "2015-05-26 15:14:23.813913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "45"], ["created_at", "2015-05-26 15:14:23.815336"], ["updated_at", "2015-05-26 15:14:23.815336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2015-05-26 15:14:23.818378"], ["updated_at", "2015-05-26 15:14:23.818378"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["status", "Started"], ["updated_at", "2015-05-26 15:14:23.820420"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]  (0.9ms) rollback transaction